<template>
  <div class="chat-wrap">
    <h1 class="title">
      在线聊天
    </h1>
    <hr class="hr-class">
    <WebSocketCpt />
  </div>
</template>

<script lang="ts" setup>
import WebSocketCpt from '@/components/WebSocket/index.vue'
import { onMounted } from 'vue'

onMounted(() => {
  document.title = '聊天 - 小锅锅·博客'
})

</script>

<style lang="scss" scoped>
@import '@/assets/css/constant.scss';
.chat-wrap {
  .title {
    display: block;
    text-align: center;
  }
}
</style>
